package cn.springcloud.fix.elk.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.Scheduled;

@Slf4j
@Configuration
public class Messagejob {
    @Scheduled(cron = "*/1 * * * * *")
    public void run() {
        log.info("hhhhhh");
        log.error("eeeee");
    }
}
